/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package client;

/**
 *
 * @author scriptoff
 */
public class CoucheMetier {

    public static double calculAnnuit(double montantPret,double taux,int nombreAnnee){
        return ((montantPret*(taux/100))+montantPret/nombreAnnee);

    }
    public static double calculNombreAn(double montantPret,double taux,double montantAnnuit) {
        return (montantAnnuit/(montantPret*((taux/100))));
    }
    
}
